import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';

export type LogParams = BasicPageParams & {
  username?: string;
  operation?: string;
  method?: string;
  params?: string;
  optime?: string;
  requestType?: string;
  url?: string;
  isSuccess?: boolean;
  paramsType?: string;
  clientIp?: string;
};
export interface LogListItem {
  id?: number;
  username: string;
  operation: string;
  method: string;
  params: string;
  optime: string;
  requestType: string;
  url: string;
  isSuccess: boolean;
  paramsType: string;
  clientIp: string;
}

export type LogListGetResultPageModel = BasicFetchResult<LogListItem>;
export type LogListGetResultModel = LogListItem[];
